package cn.yunhe.entity;

/**
 * Created by Administrator on 2018/4/13.
 */
public class Books {
    private int bId;
    private String booksName;
    private double price;
    private int currcount;
    private String picture;
    private int aId;
    private int PId;

    public Books() {
        super();
    }

    @Override
    public String toString() {
        return "Books{" +
                "bId=" + bId +
                ", booksName='" + booksName + '\'' +
                ", price=" + price +
                ", currcount=" + currcount +
                ", picture='" + picture + '\'' +
                ", aId=" + aId +
                ", PId=" + PId +
                '}';
    }

    public int getbId() {
        return bId;
    }

    public void setbId(int bId) {
        this.bId = bId;
    }

    public String getbooksName() {
        return booksName;
    }

    public void setbooksName(String booksName) {
        this.booksName = booksName;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getCurrcount() {
        return currcount;
    }

    public void setCurrcount(int currcount) {
        this.currcount = currcount;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public int getaId() {
        return aId;
    }

    public void setaId(int aId) {
        this.aId = aId;
    }

    public int getPId() {
        return PId;
    }

    public void setPId(int PId) {
        this.PId = PId;
    }

    public Books(int bId, String booksName, double price, int currcount, String picture, int aId, int PId) {

        this.bId = bId;
        this.booksName = booksName;
        this.price = price;
        this.currcount = currcount;
        this.picture = picture;
        this.aId = aId;
        this.PId = PId;
    }
}
